package com.ebring.shareEducation.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "NEWTASK_RELEASE")
public class NewTaskrelease implements Serializable {

    @Id
    private String taskReleaseId;  //发布任务id
    private String releaseVersion; //发布版本
    private String createTime; //创建时间
    private String expirationTime; //有效时间
    private String taskType;//   任务类型
    private String userId;//   发布人姓名
    private String taskStatus;//任务状态
    private String taskPrice;//任务价格
    private String taskCountent;//任务内容
    private String taskpath;//上传文件路径
    private String remark1;//   备用1
    private String remark2;//   备用2
    private String remark3;//   备用3
    private String penumber;//   查看人数
    private String taskReleaseName; //发布任务标题
    private String peopleNumber;//人数
    private String educationBackgroup;//   教育背景
    private String experience;//   经验
    private String age;//   年龄
    private String taskSex;//   年龄
    @Transient
    private List<Comments> commentsList;
}
